package com.raycloud.erp.omll.provider.utils;

import com.raycloud.erp.omll.data.entity.MulPlatformUser;
import com.raycloud.erp.omll.data.entity.Trade;


/**
 * 有关 {@link Trade}的订单工具类
 *
 * @author JackyLIU
 */
public class TradeUtils {
    public static Trade initTradeUserInfo(Trade trade, MulPlatformUser user) {
        trade.setSource(user.getSource());
        trade.setCompanyId(user.getCompanyId());
        trade.setUserId(user.getUserId());
//        trade.setTaobaoId(user.getTaobaoId());
//        trade.setSubSource(user.getSubSource());
        return trade;
    }

}
